#ifndef __CONFIG_H__
#define __CONFIG_H__

#include <opencv2/opencv.hpp>
#include <iostream>
#include <vector>
#include <mutex>
#include <string>
#include <chrono>
using namespace std;
using namespace cv;
using namespace std::chrono;

#define PROJECT_SOURCE_DIR (const string) "/home/orangepi/c_c++_projects/orangepi_camera/"
#define IMAGE_DIR (const string) PROJECT_SOURCE_DIR + "resource/images/"
#define VIDEO_DIR (const string) PROJECT_SOURCE_DIR + "resource/videos/"
#define VIDEO_OUTPUT "output"
#define VIDEO_EXTENSION ".mp4"
#define MAX_VIDEO_NUMBER 50

extern bool running;
extern bool suspend;
extern vector<Mat> all_frames;
extern mutex frame_mutex;
extern bool video_uploaded;

#endif